package com.md.EoL;

import java.util.Scanner;

public class EoL11 {

	public static void main(String[] args) {
		long a;
		Scanner scan=new Scanner(System.in);
		System.out.println("输入一个四位数");
		a=scan.nextLong();
		long b=a/1000;
		System.out.println("千位为："+b);
		long c=a%1000/100;
		System.out.println("百位为："+c);
		long d=a%100/10;
		System.out.println("十位为："+d);
		long e=a%10;
		System.out.println("个位为："+e);
	}

}